{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form name="myform" action=""  method="post">
                <div class="box-header with-border">
                    <span class="fa fa-list" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">教师值日调动</p>
                </div>
                <div class="box-body">
                       <div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   地点：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								    <select class="form-control" name="change_area">
									{%foreach from=$area_lists key=key item=value%}
										<option value="{%$key%}"> {%$key%}</option>
									{%/foreach%}
								    </select> 
							  </div> 
				        </div>
                        <div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   星期：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								    <select class="form-control" name="change_week">
									{%foreach from=$week_lists key=key item=value%}
										<option value="{%$key%}"> {%$value%}</option>
									{%/foreach%}
								    </select> 
							  </div> 
				        </div>
                        <div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   时段：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								    <select class="form-control" name="change_section">
										<option value="1"> 上午</option>
										<option value="2"> 下午</option>
								    </select> 
							  </div> 
				        </div>
						<div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   开始日期：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								    <input type="text" class="form-control" name="change_start" value="" id="start">
									<div class="input-group-addon">
									     <i class="fa fa-calendar"></i>
									</div>
							  </div> 
				        </div>					
                        <div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   调动原因：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								   <textarea rows="2" class="form-control" name="change_note"></textarea>
							  </div> 
				        </div>
						<div class="form-group">
							  <label class="col-md-4 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   教师姓名：
							  </label>
							  <div class="input-group col-md-4 col-sm-12 col-xs-12">
								    <select class="form-control" name="change_to">
									{%foreach from=$staff_lists key=key item=value%}
										<option value="{%$value.staff_id%}"> {%$value.staff_name%}</option>
									{%/foreach%}
								    </select> 
							  </div> 
				        </div> 	   
				    </div><!--box-body --> 
                    <div class="box-footer text-center">
						  <input type="hidden" name="change_box" value="{%$box_id%}">
                          <button type="submit" class="btn btn-primary">确 定</button>
                    </div>
                 </form>
             </div><!--box box-default box-solid-->
          </section>   
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
   {%include file="index.footer.tpl.php"%}
   <script>
  $(function() {
    $( "#start" ).datepicker({
      changeMonth: true,
	  changeYear: true,
    });
  });
  </script>
   
   

